Partner: P-31011 - Michelle Matthieu from 1011: Create
Natural Person As Partner| name | value |
|---|---|
| oldFamilyName | Matthieu |
| newFamilyName | Matthieu-Zhang |
HTTP GET "/api/hs/office/persons?name=Matthieu" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
[ {
"uuid" : "6e02bc9b-f056-4111-a571-960571fd7d99", // Person: Michelle Matthieu
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu"
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
HTTP PATCH "/api/hs/office/persons/6e02bc9b-f056-4111-a571-960571fd7d99" // personUuid \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }` \
<<EOF
{
"familyName" : "Matthieu-Zhang"
}
EOF
=> status: 200 OK
HTTP GET "/api/hs/office/persons/6e02bc9b-f056-4111-a571-960571fd7d99" // personUuid \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
{
"uuid" : "6e02bc9b-f056-4111-a571-960571fd7d99", // personUuid
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu-Zhang"
}
generated on 2026-08-10 04:42:23 for branch HEAD